<include file="./Application/Home/View/Public/header-mini.html" title="是什么店？You will get a big surprise!!!" keywords="surprise"/>
<div id="main">
    <div style="width:1200px; min-height:700px; padding:10px; /*border:1px solid #ccc;*/ background-color:#eee;margin-left: auto;margin-right: auto;">
        <div style="width:200px; height:660px; padding:10px; border:1px solid #ccc; background-color:#eee;float:left;">
            <p>管理菜单</p>
            <table class="dataintable">
                <tr>
                    <th><a href="#" id="order_list_link">订单管理</a></th>
                    <!--<td><input type="text" id="admin_name"/></td>-->
                </tr>    
                <!--
                <tr>
                    <th>礼物管理</th>
                </tr>    
                <tr>
                    <th>XX管理</th>
                </tr>    
                <tr>
                    <th>XX管理</th>
                </tr>    
                <tr>
                    <th>XX管理</th>
                </tr>    
                 -->
            </table>
        </div>

        <div id="main_content" style="width:940px; height:660px; padding:10px; border:1px solid #ccc; background-color:#eee;float:right;">
            <!--
            <p>订单列表</p>
            <table class="dataintable">
                <tr>
                    <th>订单号</th>
                    <th>金额</th>
                    <th>发件人</th>
                    <th>收件人</th>
                    <th>日期</th>
                </tr>    
                <tr>
                    <td></td>      
                    <td></td>      
                    <td></td>      
                    <td></td>      
                    <td>2015-03-20</td>      
                </tr>
            </table>
            -->
        </div>
    </div>

</div>
<include file="./Application/Home/View/Public/footer.html"/>

<script type="text/javascript">
    $(function() {
        $(":input").focus(function() {
            $(this).css({background: "#C2EBFF", border: "1px solid #600", });
        }).blur(function() {
            $(this).css({background: "#CCC", border: "1px solid #000"});
        });
        
        $("#order_list_link").click(function(){
            var args = {};
            $.ajax({
                type: "GET",
                url: '__ROOT__/index.php/Home/Order/order_list',
                dataType: "html",
                data: args,
                success: function(msg) {
                    $("#main_content").html(msg);
                }
            });
            return false;
        });
    });
</script>
